// 枚举类型
var color;
(function (color) {
    color[color["Red"] = 1] = "Red";
    color[color["Green"] = 2] = "Green";
    color[color["Blue"] = 3] = "Blue";
})(color || (color = {}));
var colorName = color[1];
console.log(colorName);
// 元组类型
// 定义初始值类型
var YZ;
YZ = ["我是元组类型", 0, 1, { name: '李大庆', type: '元组' }, true];
console.log(YZ);
